﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="PersonList.ascx.cs" Inherits="Job.Web.userControls.common.PersonList" %>

<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>

<table runat="server" visible="false" id="msgTab" width="80%" align="center">
    <tr>
        <td height="30px" align="center" runat="server" id="msgTd" valign="middle"></td>
    </tr>    
</table>

<asp:GridView ID="PersonGrid" runat="server" CssClass="table_style1" Width="100%" 
    AutoGenerateColumns="False" onrowdatabound="PersonGrid_RowDataBound">
    <HeaderStyle CssClass="table_style1_th" />
    <SelectedRowStyle BackColor="#EAECEC"/>
    <AlternatingRowStyle BackColor="#F6F6F6" />
  
    <Columns>
        <asp:TemplateField HeaderText="姓名">
            <ItemTemplate>
                <asp:HyperLink ID="hlPerson" runat="server" Target="_blank"><%#DataBinder.Eval(Container.DataItem, "user_name")%></asp:HyperLink>
                <asp:Label ID="lbPersonId" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"person_info_id")%>' Visible="false"></asp:Label>
            </ItemTemplate>
            <ItemStyle CssClass="table_style1_td" HorizontalAlign="Left" Width="10%" />
        </asp:TemplateField>

        <asp:TemplateField HeaderText="性别">
            <ItemTemplate>
                <asp:Label ID="lbSexy" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "user_sex")%>'></asp:Label>
            </ItemTemplate>
            <ItemStyle CssClass="table_style1_td" HorizontalAlign="Left" Width="7%" />
        </asp:TemplateField>        
        
        <asp:TemplateField HeaderText="学历">
            <ItemTemplate>
                <asp:Label ID="lbEdu" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "high_edu")%>'></asp:Label>
            </ItemTemplate>
            <ItemStyle CssClass="table_style1_td" HorizontalAlign="Left" Width="10%" />
        </asp:TemplateField>           

        <asp:TemplateField HeaderText="目前所在地">
            <ItemTemplate>
                <asp:Label ID="lbAddr" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "reside_addr")%>'></asp:Label>
            </ItemTemplate>
            <ItemStyle CssClass="table_style1_td" HorizontalAlign="Left" Width="23%" />
        </asp:TemplateField>            
        
        <asp:TemplateField HeaderText="毕业学校">
            <ItemTemplate>
                <asp:Label ID="lbSchoole" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"grad_schoole")%>'></asp:Label>
            </ItemTemplate>
            <ItemStyle CssClass="table_style1_td" HorizontalAlign="center" Width="30%" />
        </asp:TemplateField>   
        
        <asp:TemplateField HeaderText="工作年限">
            <ItemTemplate>
                <asp:Label ID="lbWork" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"work_len")%>'></asp:Label>
            </ItemTemplate>
            <ItemStyle CssClass="table_style1_td" HorizontalAlign="center" Width="10%" />
        </asp:TemplateField>  
        
        <asp:TemplateField HeaderText="在职情况">
            <ItemTemplate>
                <asp:Label ID="lbJobStatus" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"job_status")%>'></asp:Label>
            </ItemTemplate>
            <ItemStyle CssClass="table_style1_td" HorizontalAlign="center" />
        </asp:TemplateField>  
 
    </Columns>
</asp:GridView>


<webdiyer:AspNetPager ID="pagerButtom" runat="server" 
	ButtonImageNameExtension="n" ButtonImageExtension=".gif" 
        DisabledButtonImageNameExtension="g" CpiButtonImageNameExtension="r" 
		PagingButtonSpacing="10px" ButtonImageAlign="left" 
		onpagechanged="pagerButtom_PageChanged" CssClass="pagination" 
		CurrentPageButtonClass="current" PagingButtonClass="" 
		PagingButtonLayoutType="Span">
</webdiyer:AspNetPager>

<br />										  
<br />		